package apps;

public class Employee
{
    String name;
    private double salary;
    public static double minimumWage;

    public Employee(double salary)
    {
	this.salary = salary;
    }

    public void raiseSalary(double raise)
    {
	if (raise < 0)
	{
	    IllegalArgumentException error = new IllegalArgumentException();
	    throw error;
	} else
	{
	    this.salary += salary;
	}
    }

    public static void adjustMinimumWage(double tax)
    {
	Employee.minimumWage += Employee.minimumWage * tax;
    }
}
